package org.example.application.assembler;

import org.example.application.dto.OrderDTO;
import org.example.domain.entity.Order;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrderAssembler {
    OrderAssembler INSTANCE = Mappers.getMapper(OrderAssembler.class);
    OrderDTO fromEntity(Order order);
}
